package com.loooooo.pm2024.modules.pm.mapper;


import com.loooooo.pm2024.modules.pm.model.Attachment;
import com.loooooo.pm2024.modules.pm.model.Issue;
import com.loooooo.pm2024.modules.pm.selector.AttachmentSelector;
import com.loooooo.pm2024.modules.pm.selector.IssueSelector;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AttachmentMapper {


    Attachment get(Long id);


    List<Attachment> select(AttachmentSelector selector);

    int count(AttachmentSelector selector);

    int insert(Attachment issue);

    int update(Attachment issue);


}
